package com.example.home.api

import com.example.common.view.api.BaseApiService
import com.example.home.entity.HomeListEntityItem
import com.example.home.model.HomeResultData
import retrofit2.http.GET
import retrofit2.http.Query

interface HomeApiService:BaseApiService{
    @GET("/api/announcements")
    suspend fun getAnnouncements(@Query("page")page:Int,@Query("size")size:Int): HomeResultData<List<HomeListEntityItem>>
}